#ifndef _RSS_UI_MYLIST_H_
#define _RSS_UI_MYLIST_H_
#include <mzfc_inc.h>
#include <string>
using namespace std;
#include "../resource.h"

class MyListItemData
{
public:
	MyListItemData() { Selected = false; }
	wstring StringTitle;
	wstring StringDescription;
	wstring itemContent;
	int UnreadCount;
	int feedId;
	int itemId;
	bool IsSubcribe;
	bool Selected;
};
class MyList : public UiList
{
public:
	MyList(){ m_selectMode = false; }

	virtual void OnRemoveItem(int nIndex);

	virtual void DrawItem(HDC hdcDst, int nIndex, RECT* prcItem, RECT *prcWin, RECT *prcUpdate);

	virtual int OnLButtonUp(UINT fwKeys, int xPos, int yPos);

	bool IsMultiSelect(int nIndex);

	void MultiSelectItem(int nIndex, bool bSelect);

	bool SelectMode() const { return m_selectMode; }
	void SetSelectMode(bool mode);

private:
	ImageContainer m_ImageContainer;
	bool m_selectMode;
};
#endif
